Optimal. Leaf size=131 \[ -\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}-\frac {b^2 x^{-11 n} \left (a+b x^n\right )^9}{143 a^3 n}+\frac {b^3 x^{-10 n} \left (a+b x^n\right )^9}{715 a^4 n}-\frac {b^4 x^{-9 n} \left (a+b x^n\right )^9}{6435 a^5 n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {272, 47, 37}
\begin {gather*} -\frac {b^4 x^{-9 n} \left (a+b x^n\right )^9}{6435 a^5 n}+\frac {b^3 x^{-10 n} \left (a+b x^n\right )^9}{715 a^4 n}-\frac {b^2 x^{-11 n} \left (a+b x^n\right )^9}{143 a^3 n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rule 272
Rubi steps
\begin {align*} \int x^{-1-13 n} \left (a+b x^n\right )^8 \, dx &=\frac {\text {Subst}\left (\int \frac {(a+b x)^8}{x^{14}} \, dx,x,x^n\right )}{n}\\ &=-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}-\frac {(4 b) \text {Subst}\left (\int \frac {(a+b x)^8}{x^{13}} \, dx,x,x^n\right )}{13 a n}\\ &=-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}+\frac {b^2 \text {Subst}\left (\int \frac {(a+b x)^8}{x^{12}} \, dx,x,x^n\right )}{13 a^2 n}\\ &=-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}-\frac {b^2 x^{-11 n} \left (a+b x^n\right )^9}{143 a^3 n}-\frac {\left (2 b^3\right ) \text {Subst}\left (\int \frac {(a+b x)^8}{x^{11}} \, dx,x,x^n\right )}{143 a^3 n}\\ &=-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}-\frac {b^2 x^{-11 n} \left (a+b x^n\right )^9}{143 a^3 n}+\frac {b^3 x^{-10 n} \left (a+b x^n\right )^9}{715 a^4 n}+\frac {b^4 \text {Subst}\left (\int \frac {(a+b x)^8}{x^{10}} \, dx,x,x^n\right )}{715 a^4 n}\\ &=-\frac {x^{-13 n} \left (a+b x^n\right )^9}{13 a n}+\frac {b x^{-12 n} \left (a+b x^n\right )^9}{39 a^2 n}-\frac {b^2 x^{-11 n} \left (a+b x^n\right )^9}{143 a^3 n}+\frac {b^3 x^{-10 n} \left (a+b x^n\right )^9}{715 a^4 n}-\frac {b^4 x^{-9 n} \left (a+b x^n\right )^9}{6435 a^5 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 113, normalized size = 0.86 \begin {gather*} \frac {x^{-13 n} \left (-495 a^8-4290 a^7 b x^n-16380 a^6 b^2 x^{2 n}-36036 a^5 b^3 x^{3 n}-50050 a^4 b^4 x^{4 n}-45045 a^3 b^5 x^{5 n}-25740 a^2 b^6 x^{6 n}-8580 a b^7 x^{7 n}-1287 b^8 x^{8 n}\right )}{6435 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 136, normalized size = 1.04
method | result | size |
risch | \(-\frac {b^{8} x^{-5 n}}{5 n}-\frac {4 a \,b^{7} x^{-6 n}}{3 n}-\frac {4 a^{2} b^{6} x^{-7 n}}{n}-\frac {7 a^{3} b^{5} x^{-8 n}}{n}-\frac {70 a^{4} b^{4} x^{-9 n}}{9 n}-\frac {28 a^{5} b^{3} x^{-10 n}}{5 n}-\frac {28 a^{6} b^{2} x^{-11 n}}{11 n}-\frac {2 a^{7} b \,x^{-12 n}}{3 n}-\frac {a^{8} x^{-13 n}}{13 n}\) | \(136\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 153, normalized size = 1.17 \begin {gather*} -\frac {a^{8}}{13 \, n x^{13 \, n}} - \frac {2 \, a^{7} b}{3 \, n x^{12 \, n}} - \frac {28 \, a^{6} b^{2}}{11 \, n x^{11 \, n}} - \frac {28 \, a^{5} b^{3}}{5 \, n x^{10 \, n}} - \frac {70 \, a^{4} b^{4}}{9 \, n x^{9 \, n}} - \frac {7 \, a^{3} b^{5}}{n x^{8 \, n}} - \frac {4 \, a^{2} b^{6}}{n x^{7 \, n}} - \frac {4 \, a b^{7}}{3 \, n x^{6 \, n}} - \frac {b^{8}}{5 \, n x^{5 \, n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 113, normalized size = 0.86 \begin {gather*} -\frac {1287 \, b^{8} x^{8 \, n} + 8580 \, a b^{7} x^{7 \, n} + 25740 \, a^{2} b^{6} x^{6 \, n} + 45045 \, a^{3} b^{5} x^{5 \, n} + 50050 \, a^{4} b^{4} x^{4 \, n} + 36036 \, a^{5} b^{3} x^{3 \, n} + 16380 \, a^{6} b^{2} x^{2 \, n} + 4290 \, a^{7} b x^{n} + 495 \, a^{8}}{6435 \, n x^{13 \, n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 31.36, size = 144, normalized size = 1.10 \begin {gather*} \begin {cases} - \frac {a^{8} x^{- 13 n}}{13 n} - \frac {2 a^{7} b x^{- 12 n}}{3 n} - \frac {28 a^{6} b^{2} x^{- 11 n}}{11 n} - \frac {28 a^{5} b^{3} x^{- 10 n}}{5 n} - \frac {70 a^{4} b^{4} x^{- 9 n}}{9 n} - \frac {7 a^{3} b^{5} x^{- 8 n}}{n} - \frac {4 a^{2} b^{6} x^{- 7 n}}{n} - \frac {4 a b^{7} x^{- 6 n}}{3 n} - \frac {b^{8} x^{- 5 n}}{5 n} & \text {for}\: n \neq 0 \\\left (a + b\right )^{8} \log {\left (x \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.42, size = 113, normalized size = 0.86 \begin {gather*} -\frac {1287 \, b^{8} x^{8 \, n} + 8580 \, a b^{7} x^{7 \, n} + 25740 \, a^{2} b^{6} x^{6 \, n} + 45045 \, a^{3} b^{5} x^{5 \, n} + 50050 \, a^{4} b^{4} x^{4 \, n} + 36036 \, a^{5} b^{3} x^{3 \, n} + 16380 \, a^{6} b^{2} x^{2 \, n} + 4290 \, a^{7} b x^{n} + 495 \, a^{8}}{6435 \, n x^{13 \, n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.44, size = 153, normalized size = 1.17 \begin {gather*} -\frac {a^8}{13\,n\,x^{13\,n}}-\frac {b^8}{5\,n\,x^{5\,n}}-\frac {4\,a^2\,b^6}{n\,x^{7\,n}}-\frac {7\,a^3\,b^5}{n\,x^{8\,n}}-\frac {70\,a^4\,b^4}{9\,n\,x^{9\,n}}-\frac {28\,a^5\,b^3}{5\,n\,x^{10\,n}}-\frac {28\,a^6\,b^2}{11\,n\,x^{11\,n}}-\frac {4\,a\,b^7}{3\,n\,x^{6\,n}}-\frac {2\,a^7\,b}{3\,n\,x^{12\,n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________